package my_test.dao;


import my_test.model.AppUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by kevin on 16-8-23.
 */
public interface AppUserRepository extends JpaRepository<AppUser, Long> {
    public AppUser findByUsername(String name);

    public AppUser findByMobilePhoneNum(String mobilePhoneNum);
}
